<%@ page language="java"  pageEncoding="UTF-8" contentType="text/html; charset=utf-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="pragma" content="no-cache"/>
    <title>拼购俱乐部-幸福兄弟-幸福兄弟拼购网</title>
	<meta name="description" content="幸福兄弟盐城拼购第一网www.9898sj.com是幸福兄弟营销策划有限公司旗下品牌项目。幸福兄弟盐城拼购第一网是专门针对建材、家具、电器进行同城拼购的一个网站。将全城千万消费者聚拢在一起，用量来获得最低的购买价格。网站聚集了全城1000个知名优质品牌，消费者足不出户就能完成对盐城建材、家具、电器市场进行最深刻的了解，通过拼购网购买是免费的，消费者不需要花一分钱就能实现最省钱、省心、舒心的购买。幸福兄弟盐城拼购第一网将帮助1000个优质品牌企业最大程度的宣传全城，帮助品牌企业好的口碑得到良好的传播，从而实现最好的销售。希望幸福兄弟盐城拼购第一网能为您的幸福生活、您的成功带来帮助！幸福生活，从拼购开始。公司地址，盐城市南城河路9号（迎宾桥北桥头东侧）；联系电话：0515-88175689  88175528"/>
	<meta name="keywords" content="幸福兄弟，幸福兄弟盐城拼购第一网，幸福兄弟拼购，幸福兄弟拼购网，盐城拼购，盐城拼购，盐城建材拼购，盐城家具拼购，盐城电器拼购，建材拼购，家具拼购，电器拼购"/>
<link href="../resource/css/css2.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../resource/js/jquery-1.4.2.js"></script>

</head>

<script type="text/javascript">
// 申请版主 审核情况
var auding = '<s:property value="#tribuneMaster"/>';
var masterUserName = '<s:property value="#masterUserName"/>';
// 当前登录用户类型 1管理员2商家……
var userType = '${sessionScope.userinfo.type}';
var tgAnnouncementContent = '<s:property value="tgAnnouncement.content"/>';
function InitSwitchObj() {
	IMGLIST = $("#IMG_UL_LIST_1");
	IMGINDEX = $("#IMG_INDEX_UL_LIST_1");
	MAXINDEX = IMGLIST.find("li").length;
	currIndex = 0;
	currImgIndex = IMGINDEX.find("li:eq(" + currIndex + ")");
	currImgLi = IMGLIST.find("li:eq(" + currIndex2 + ")");
	currImgLi.show();
	interValTime = 3000;
	fadeInTime = 800;
	fadeOutTime = 1000;
	ImageAutoSwitch();
	ImageManualSwitch();
	ImageStopSwitch();
}


        //執行時間
var interValTime = 0;
        //下一張圖片顯示時間
var fadeInTime = 0;
        //上一張圖片的消失時間
var fadeOutTime = 0;
        //保存當前圖片定時的對象
var imageTimer = null;
        //當前的索引
var currIndex = null;
var currIndex2 = null;
        //當前圖片的所以
var currImgIndex = null;
var currImgIndex2 = null;
        //當前圖片
var currImgLi = null;
var currImgLi2 = null;
        //記錄需要切換的圖片集合
var IMGLIST = null;
var IMGLIST2 = null; 
        //記錄需要切換的圖片集合的索引。
var IMGINDEX = null;
var IMGINDEX2 = null;
        //最大圖片個數
var MAXINDEX = null;
var MAXINDEX2 = null;
        //自動定時切換。
function ImageAutoSwitch() {
	if (imageTimer != null) {
		clearInterval(imageTimer);
	}
	imageTimer = setInterval("IntervalImage()", interValTime);
}
        //手動切換圖片
function ImageManualSwitch() {
	IMGINDEX.find("li").each(function (i) {
		$(this).hover(function () {
			if (imageTimer != null) {
				clearInterval(imageTimer);
			}
			currIndex = i;
			ImageSwitchChange();
		}, function () {
			ImageAutoSwitch();
		});
	});
}
        //鼠標放到圖片上的換，停止切換
function ImageStopSwitch() {
	IMGLIST.find("li").each(function () {
		$(this).hover(function () {
			if (imageTimer != null) {
				clearInterval(imageTimer);
			}
		}, function () {
			ImageAutoSwitch();
		});
	});
}
        //自动切换图片
function IntervalImage() {
	currIndex = parseFloat(currIndex);
	currIndex = currIndex + 1;
            //如果切換到最大數量的時候則從頭開始
	if (currIndex >= MAXINDEX) {
		currIndex = 0;
	}
            //將原來的現實圖片索引的背景透明
	ImageSwitchChange();
}
        //切換圖片的時候，響應的圖片要實現漸變效果
function ImageSwitchChange() {
	if (currImgIndex != null) {
		currImgIndex.css({"background-color":"transparent"});
	}
	currImgIndex = IMGINDEX.find("li:eq(" + currIndex + ")");
	imgLi = IMGLIST.find("li:eq(" + currIndex + ")");
	currImgIndex.css({"background-color":"#999999"});
	if (currImgLi != null) {
		currImgLi.fadeOut(fadeOutTime, function () {
			imgLi.fadeIn(fadeInTime);
		});
	}
	currImgLi = imgLi;
}

</script>

<body id="top" onload="InitSwitchObj()">
<jsp:include page="../eva_img.jsp"></jsp:include>
<div id="grayDiv" style="z-index:20;display: none;background: #ECECEC;width: 100%;height: 100%;position: absolute;filter:alpha(opacity=50);-moz-opacity:0.5;-khtml-opacity: 0.5;opacity: 0.5;">
</div>
<div id="joinDiv" style="z-index:21; display: none;position: absolute;width: 650px;height: 450px;background:url('<%=basePath %>resource/img/brand/win_ft.png');">
	<div style="width: 100%;height: 50px;border-bottom: 2px solid #33A7D1;">
		<table width="100%" height="100%" border="0">
		<tr><td width="150px" style="color: #000000;font-weight: bold;font-size: 16px;padding-left: 5px;">&nbsp;</td><td style="padding-left: 20px;font-size: 15px" valign="middle">&nbsp;</td><td width="50px" align="right" valign="middle" style="font-weight: bold;padding-right:15px;cursor: pointer;" onclick="hideJoin();" title="关闭">&nbsp;&nbsp;</td></tr>
		</table>
	</div>
  <form name="form" method="post" action="../tribune/tribune_addtribune.shtml" onsubmit="return checkmodify()" enctype="multipart/form-data">
	  <div class="tritable">
	  <table width="600" style="margin-top: 10px;" border="0" cellspacing="0" cellpadding="0">
	  <tr>
	    <td style="padding-left:15px; padding-top:5px; padding-bottom:15px;"> 标题  <input style="height: 20px;" id="triObjTitle" type="text" size="80" maxlength="50" name="triObj.title"  /></td>
	  </tr>
	  <tr>
	    <td style="padding-left:15px; padding-top:5px;">
	    <textarea style="width:600px;;height:250px;word-wrap:break-word;" name="triObj.content" id="content"></textarea></td>
	  </tr>
	  <tr>
			<td>&nbsp;
			</td>
		</tr>
	  <tr>
			<td style="padding-left:15px;margin-top: 10px;" align="left">
				<input type="submit" value="提交"/>&nbsp;&nbsp;
				<input type="button" value="取消" onclick="hideJoin();"/>
			</td>
		</tr>
	</table>
	<input type="hidden" name="triObj.id" value="0"/>
	<input type="hidden" name="triObj.flowCount" value="0"/>
	<input type="hidden" name="triObj.viewCount" value="0"/>
	<input type="hidden" name="triObj.isMarrow" value="2"/>
	<input type="hidden" name="triObj.flowers" value="0"/>
	<input type="hidden" name="triObj.eggs" value="0"/>
	<input type="hidden" name="triObj.isTop" value="0"/>
	<input type="hidden" id="sessionFlag" value="${sessionScope.userinfo.id}"/>
	</div>
  </form>
</div>
<form id="form1" name="form1" method="post" action="">
    
 <jsp:include page="../index/top.jsp"></jsp:include>

<div id="banner">
		<div class='img-swith-main' style="width: 996px;height: 113px;">
			<div class="img-switch">
				<ul id="IMG_UL_LIST_1" >
					<li>
					<img src="../resource/img/index/banner.jpg"/>
					</li>
					<li>
					<img src="../resource/img/index/banner1.jpg"/>
					</li>
					<li>
					<img src="../resource/img/index/banner2.jpg"/>
					</li>
					<li>
					<img src="../resource/img/index/banner3.jpg"/>
					</li>
				</ul>
			</div>
			<div class='img-switch-index'>
				<ul id="IMG_INDEX_UL_LIST_1">
						<li id="li_index_default1" style="background-color: #aaa;">
							01
						</li>
						<li>
							02
						</li>
						<li>
							03
						</li>
						<li>
							04
						</li>
				</ul>
			</div>
			<div class='img-switch-clear'>
			</div>
		</div>

</div>
<div id="banner1">
  <div id="left-banner"></div>
  <div id="right-banner"> <span style="color:#F60; font-weight:600">"拼客"</span>我们倡导的就是一种"节约、时尚、快乐、共赢"的新型生活方式，展示的是一种精明与节俭的生活理念，追求的是足金足量的生活品味。联合更多的人，形成更大的力量，或等更低的折扣，结合更多的朋友，享受更好的生活。加入拼客俱乐部，体验力量大、爱拼才会赢的乐趣吧！</div>
</div>
<div id="banner2">
<table width="998" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="328" align="left" valign="top" style="background:url(../resource/img/index/banner_03.jpg) repeat-y">
    <div class="list">
    <ul>
     <s:iterator value="#tglist" var="tg">
									<li>
													<a target="_blank" href="<%=basePath %>brand/detailShoper.shtml?id=<s:property value="id" />&categoryId=<s:property value="cid" />">
													    <img src="<%=basePath %>${tg.imgsrc}" width="144" height="45" />
													     <div align="center"> ${tg.name}</div>
													</a>
									</li>
		</s:iterator>
    </ul>
    </div>
    </td>
    <td width="10px"><a name="002" id="002" ></a>&nbsp;</td>
    
    <td valign="top" ><jsp:include page="../tribune/list3.jsp" ></jsp:include></td>
  </tr>
</table>
</div>
			<iframe src="<%=basePath%>index/footer.html" frameborder="0"
				scrolling="no" width="100%" ; height="90px;"></iframe>
				
</form>
</body>
<script>
var bodyWidth;
bodyWidth = $("body").width();
$("#grayDiv").height($("body").height());
function hideJoin() {
	$("#flexDiv").show();
	$("#grayDiv,#joinDiv").hide();
}
function GetPageScroll() {
	var x, y;
	if (window.pageYOffset) { // all except IE
		y = window.pageYOffset;
		x = window.pageXOffset;
	} else if (document.documentElement && document.documentElement.scrollTop) { // IE 6
		// Strict
		y = document.documentElement.scrollTop;
		x = document.documentElement.scrollLeft;
	} else if (document.body) { // all other IE
		y = document.body.scrollTop;
		x = document.body.scrollLeft;
	}
	return y;
}
</script>
</html>